<?php
namespace App\Exchange\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 交易对Dto （导入导出）
 */
#[ExcelData]
class ExchangePairDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "名称", index: 1)]
    public string $name;

    #[ExcelProperty(value: "法币id", index: 2)]
    public string $legal_id;

    #[ExcelProperty(value: "开启现货交易", index: 3)]
    public string $is_trade;

    #[ExcelProperty(value: "开启合约交易", index: 4)]
    public string $is_contract;

    #[ExcelProperty(value: "开启期权交易", index: 5)]
    public string $is_futures;

    #[ExcelProperty(value: "排序", index: 6)]
    public string $sort;

    #[ExcelProperty(value: "1正常", index: 7)]
    public string $status;


}